package com.micro.service.dao;

import com.micro.service.model.Account;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;


@Repository
public interface AccountRepository extends MongoRepository<Account, String> {

    Account findByUserName(String userName);
}
